Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pi: Make billing status changes batched. #1535

Merged
merged 5 commits into from
Oct 10, 2021

Conversation

amass01
Copy link
Member

@amass01 amass01 commented Oct 9, 2021

This changes the /billingstatuschanges route to be batched, this
allows clients to fetch the billing status changes of a page of
proposals in one call.

Also, this commit adds the BillingStatusChangesPageSize to the
pi API policy reply.


Closes #1534.

This changes the `/billingstatuschanges` route to be batched, this
allows clients to fetch the billing status changes of a page of
proposals in one call.
politeiawww/cmd/pictl/cmdproposalbillingstatuschanges.go Outdated Show resolved Hide resolved
politeiawww/cmd/pictl/cmdproposalbillingstatuschanges.go Outdated Show resolved Hide resolved
politeiawww/api/pi/v1/v1.go Outdated Show resolved Hide resolved
politeiawww/api/pi/v1/v1.go Outdated Show resolved Hide resolved
politeiawww/api/pi/v1/v1.go Outdated Show resolved Hide resolved
politeiawww/api/pi/v1/v1.go Outdated Show resolved Hide resolved
politeiawww/legacy/pi/process.go Show resolved Hide resolved
politeiawww/legacy/pi/process.go Outdated Show resolved Hide resolved
Copy link
Member

@lukebp lukebp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

Just fix the one typo.

politeiawww/cmd/pictl/cmdproposalbillingstatuschanges.go Outdated Show resolved Hide resolved
Copy link
Member

@lukebp lukebp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@lukebp lukebp merged commit a32836a into decred:master Oct 10, 2021
@lukebp lukebp changed the title pi: Batched /billingstatuschanges route. pi: Make billing status changes batched. Oct 10, 2021
@amass01 amass01 deleted the batchedbillingstatuschanges branch October 10, 2021 21:41
@lukebp lukebp mentioned this pull request Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pi: Batched /billingstatuschanges route.
2 participants